<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>动画自己动</title>
		<style>
			.Boo{
				width: 100px;
				height: 100px;
				border:1px solid;
				animation: Boo 6s infinite;
				position: relative;
			}
			@keyframes Boo{
				from{left: 0px; top:0px;}
				to{left: 300px;top:300px;}
			}
		</style>
	</head>
	<body>
		<div class="Boo"></div>
	</body>
</html>
